load("//tools:defaults.bzl", "ts_project", "tsec_test")

package(default_visibility = [
    "//devtools:__subpackages__",
    "//packages:__pkg__",
    "//packages/core:__subpackages__",
    "//tools/public_api_guard:__pkg__",
])

ts_project(
    name = "interface",
    srcs = glob(
        [
            "**/*.ts",
        ],
    ),
    deps = [
        "//:node_modules/rxjs",
        "//packages/core/src/interface",
        "//packages/core/src/util",
    ],
)

tsec_test(
    name = "tsec_test",
    target = ":interface",
    tsconfig = "//packages/core:tsconfig_build",
)

filegroup(
    name = "files_for_docgen",
    srcs = glob([
        "*.ts",
    ]),
    visibility = ["//visibility:public"],
)
